package Prototype;

public class TestClient {
    public static void main(String[] args) {
        TestPrototype test = new TestPrototype("jiajianing","male");
        try {
            TestPrototype copy = (TestPrototype) test.clone();
            copy.display();
            System.out.println(test.getName() == copy.getName());
        }catch (Exception e){
            System.out.println("clone error");
        }
        test.display();
    }
}
